home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / mred401.zip / MANUAL.BAT < prev    next >
DOS Batch File  |  1989-09-01  |  820b  |  28 lines

  1. @ECHO OFF
  2. ECHO OFF
  3. ECHO 
  4. ECHO This batch file prints Mister ED's manual, MANUAL.PRN, to the printer
  5. ECHO you specified on the command line.  If you didn't specify a printer,
  6. ECHO the device at PRN will be used, or you can restart this batch file
  7. ECHO with a device location on the command line.  The manual is printed
  8. ECHO using the DOS COPY command and is approximately 80 pages long, so
  9. ECHO it may take awhile to print.
  10. ECHO 
  11. ECHO Press Ctrl-Break to Quit, or
  12. PAUSE
  13. IF NOT EXIST MANUAL.PRN GOTO NOMANUAL
  14. IF "%1" == "" GOTO DEFAULT
  15. COPY MANUAL.PRN %1
  16. GOTO DONE
  17. :DEFAULT
  18. COPY MANUAL.PRN PRN
  19. GOTO DONE
  20. :NOMANUAL
  21. ECHO 
  22. ECHO For this batch file to print MANUAL.PRN, the file MANUAL.PRN must
  23. ECHO be in the same directory as this batch file.
  24. ECHO 
  25. ECHO Execution terminated.
  26. GOTO DONE
  27. :DONE
  28.